From 6c4c01bd4328fc39a34077d057919ff40c41bcb7 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 16 Jun 2009 11:38:33 +0100 Subject: [PATCH] xend: pass-through: Remove PciDeviceNotFoundError, it is never used Signed-off-by: Simon Horman --- tools/python/xen/util/pci.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/tools/python/xen/util/pci.py b/tools/python/xen/util/pci.py index 9e7e534a33..fb64c01b9b 100644 --- a/tools/python/xen/util/pci.py +++ b/tools/python/xen/util/pci.py @@ -375,17 +375,6 @@ def check_mmio_bar(devs_list): return result -class PciDeviceNotFoundError(Exception): - def __init__(self,domain,bus,slot,func): - self.domain = domain - self.bus = bus - self.slot = slot - self.func = func - self.name = PCI_DEV_FORMAT_STR %(domain, bus, slot, func) - - def __str__(self): - return ('PCI Device %s Not Found' % (self.name)) - class PciDeviceParseError(Exception): def __init__(self,msg): self.message = msg -- 2.30.2